package com.aizuda.boot.modules.business.performance.domain.request;


import com.aizuda.boot.modules.common.constant.enums.PerformanceMethodEnum;
import com.aizuda.boot.modules.common.constant.enums.PerformanceObjectEnum;
import com.aizuda.boot.modules.common.constant.enums.PerformanceTimeEnum;
import com.aizuda.boot.modules.common.constant.enums.PerformanceTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author sangyirong
 * @ClassName UpdatePerformanceDTO
 * @Version 1.0
 * @Date 2025/6/4 17:13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "更新履约提醒DTO")
public class UpdatePerformanceDTO {

    @Schema(description = "合同履约ID", required = true)
    private Integer id;

    @Schema(description = "提醒类型",required = true)
    private PerformanceTypeEnum performanceType;

    @Schema(description = "合同履约名称",required = true)
    private String performanceName;

    @Schema(description = "合同类型范围", required = true)
    private List<Integer> contractTypeIds;

    @Schema(description = "提醒时间",required = true)
    private List<PerformanceTimeEnum> performanceTime;

    @Schema(description = "到期前多少天提醒")
    private Integer performanceDay;

    @Schema(description = "提醒对象",required = true)
    private List<PerformanceObjectEnum> performanceObject;

    @Schema(description = "指定对象id")
    private List<Long> performanceUser;

    @Schema(description = "提醒方式")
    private PerformanceMethodEnum performanceMethod;
}
